<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
日期date:<span th:text="${#dates.format(date,'yyyy-MM-dd HH:mm:ss')}"></span><br/>
工资salary:<span th:text="${#numbers.formatDecimal(salary,0,2)}"></span><br/>
集合list长度:<span th:text="${#lists.size(list)}"></span><br/>
集合list内容:<span th:text="${#lists.toList(list)}"></span><br/>
获取并截取字符串:<span th:text="${#strings.substring(word,0,5)}"></span><br/>
</body>
</html>